import { request } from '~/api/request'

export const handleApprove = (data: any): any => request('post', '/api/internal/v1/item/manage/approvalBorrow', data)

export const queryWaitApproveList = (data: any): any =>
  request('post', '/api/internal/v1/item/borrow/query/waitApproveCaseList', data)

export const queryApproveList = (data: any): any =>
  request('post', '/api/internal/v1/item/borrow/query/approveWaitBorrowCaseList', data)

export const queryCertificate = (data: any): any => request('get', '/api/internal/v1/voucher/getVoucherHttpUrl', data)
